/* ============================================
   VARIABLES & ESTILOS BASE
   ============================================ */

:root {
  --primary: #00D9FF;
  --primary-dark: #00B8D4;
  --accent: #FF006E;
  --text: #0A0E27;
  --text-light: #3A3F5C;
  --text-muted: #6B7280;
  --bg: #FFFFFF;
  --bg-dark: #0A0E27;
  --bg-secondary: #F8F9FF;
  --border: #E5E7EB;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   HEADER
   ============================================ */

.header {
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  padding: 0;
  position: static;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.8rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}

.logo-image {
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* ============================================
   BOTONES
   ============================================ */

.btn {
  padding: 1rem 2.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 30px rgba(0, 217, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.3s ease;
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 217, 255, 0.5);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
}

.btn-whatsapp:hover {
  background: #1DAC51;
  transform: translateY(-3px);
}

.btn-block {
  width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  padding-top: 80px;
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1f3a 50%, #2a1f3a 100%);
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 0, 110, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.3) 0%, rgba(42, 31, 58, 0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #00D9FF 0%, #FFFFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(0, 217, 255, 0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  font-weight: 300;
}

.hero-subtitle em {
  font-style: italic;
  color: #00D9FF;
}

.hero-highlight {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 40px;
  line-height: 1.8;
  background: rgba(0, 217, 255, 0.1);
  padding: 20px;
  border-left: 4px solid #00D9FF;
  border-radius: 8px;
}

.hero-badges {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(0, 217, 255, 0.2);
  color: #00D9FF;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  border: 1px solid rgba(0, 217, 255, 0.4);
  font-size: 0.95rem;
}

.hero-cta {
  margin-top: 50px;
}

/* ============================================
   UBICACIONES SECTION
   ============================================ */

.ubicaciones {
  padding: 100px 0;
  background: white;
}

.ubicaciones h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--text);
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 60px;
}

.ubicaciones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
}

.ubicacion-card {
  background: var(--bg-secondary);
  padding: 40px;
  border-radius: 16px;
  border: 2px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.ubicacion-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.ubicacion-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.ubicacion-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  display: block;
}

.ubicacion-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--text);
}

.ubicacion-card p {
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.7;
}

/* ============================================
   PROBLEMA SECTION
   ============================================ */

.problema {
  padding: 50px 0;
  background: white;
}

.problema h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--text);
  text-align: center;
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.beneficio-card {
  background: var(--bg-secondary);
  padding: 30px;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}

.beneficio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.beneficio-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.beneficio-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text);
}

.beneficio-card p {
  color: var(--text-light);
  line-height: 1.7;
}

.resultados-section {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1f3a 100%);
  color: white;
  padding: 60px;
  border-radius: 16px;
  text-align: center;
}

.resultados-section h3 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.resultados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.resultado-card {
  background: rgba(0, 217, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(0, 217, 255, 0.3);
}

.numero {
  font-size: 3rem;
  font-weight: 800;
  color: #00D9FF;
  margin-bottom: 15px;
}

.resultado-card p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   SERVICIOS SECTION
   ============================================ */

.servicios {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.servicios h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--text);
  text-align: center;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.servicio-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.servicio-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.servicio-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.servicio-item h3 {
  font-size: 1.3rem;
  padding: 20px 20px 10px;
  color: var(--text);
}

.servicio-item p {
  padding: 0 20px 20px;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  background: linear-gradient(135deg, #0A0E27 0%, #1a1f3a 50%, #2a1f3a 100%);
  padding: 80px 20px;
  text-align: center;
  color: white;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn {
  font-size: 1.1rem;
  padding: 1.2rem 3rem;
}

/* ============================================
   CONTACTO SECTION
   ============================================ */

.contacto {
  padding: 100px 0;
  background: white;
}

.contacto h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--text);
  text-align: center;
}

.contacto-whatsapp-only {
  max-width: 600px;
  margin: 0 auto;
}

.whatsapp-card-large {
  background: white;
  padding: 50px 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.whatsapp-card-large:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(0, 217, 255, 0.2);
  transform: translateY(-8px);
}

.whatsapp-icon-big {
  font-size: 5rem;
  margin-bottom: 25px;
  display: block;
}

.whatsapp-card-large h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--text);
}

.whatsapp-card-large p {
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
  font-size: 1.05rem;
}

.whatsapp-info {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 20px;
  font-weight: 500;
}

.whatsapp-info {
  font-weight: 600;
  color: var(--primary);
  margin-top: 15px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1f3a 100%);
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer p {
  margin: 10px 0;
  opacity: 0.9;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  animation: float-pulse 2s ease-in-out infinite;
}

.whatsapp-float-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: contain;
  padding: 5px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 217, 255, 0.3);
}

.whatsapp-float:active {
  transform: scale(0.95);
}

@keyframes float-pulse {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }

  .cta-section {
    padding: 60px 20px;
  }

  .cta-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .ubicaciones-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .badge {
    font-size: 0.85rem;
    padding: 8px 15px;
  }

  .cta-section {
    padding: 50px 20px;
  }

  .cta-section h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }

  .cta-section .btn {
    font-size: 1rem;
    padding: 1rem 2.5rem;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float-icon {
    width: 50px;
    height: 50px;
  }
}
