* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Inter', sans-serif;
  background-color: #000000;
  color: #f1f5f9;
  line-height: 1.6;
}

/* Contenedor */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Botones */
.btn-contacto {
  background: linear-gradient(135deg, #DC2626, #EF4444);
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-contacto:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
  background: linear-gradient(135deg, #b91c1c, #dc2626);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid rgba(37, 99, 235, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-secondary:hover {
  border-color: rgba(37, 99, 235, 1);
  background: rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

/* Botones de redes sociales */
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #20BA5A);
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  background: linear-gradient(135deg, #20BA5A, #1B9D4A);
}

.btn-instagram {
  background: linear-gradient(135deg, #E1306C, #C13584);
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(225, 48, 108, 0.3);
  background: linear-gradient(135deg, #C13584, #A01A60);
}

.btn-facebook {
  background: linear-gradient(135deg, #1877F2, #0A66C2);
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-facebook:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(24, 119, 242, 0.3);
  background: linear-gradient(135deg, #0A66C2, #053B8E);
}

/* Tarjetas de productos */
.producto-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(75, 85, 99, 0.3);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.3s ease;
}

.producto-card:hover {
  border-color: rgba(220, 38, 38, 0.5);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.15);
}

/* Secciones */
.section {
  padding: 100px 0;
}

/* Títulos */
h1, h2, h3, h4, h5, h6 {
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

/* Accordions */
.accordion-button {
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.accordion-body {
  padding: 12px 0;
}

/* Logo overlay superpuesto */
.logo-overlay {
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.logo-overlay img {
  width: 280px;
  height: 280px;
  opacity: 0.95;
  object-fit: contain;
}

/* Espacio extra sutil para que el texto no tape completamente el logo */
.parallax-section .container {
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem !important;
  }

  h2 {
    font-size: 2rem !important;
  }

  .producto-card {
    padding: 20px;
  }

  .logo-overlay {
    top: -10px;
    height: 150px;
  }

  .logo-overlay img {
    width: 180px;
    height: 180px;
  }
  
  .parallax-section .container {
    margin-top: 30px;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #DC2626, #EF4444);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5);
  background: linear-gradient(135deg, #b91c1c, #dc2626);
}

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #DC2626, #3B82F6);
  width: 0%;
  z-index: 1001;
  transition: width 0.1s ease-out;
}

/* Improved Card Shadows */
.card-hover {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-hover:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(220, 38, 38, 0.2);
}

/* Improved Link Transitions */
.link-hover {
  position: relative;
  transition: all 0.3s ease;
}

.link-hover::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: linear-gradient(90deg, #DC2626, #3B82F6);
  transition: width 0.3s ease;
}

.link-hover:hover::after {
  width: 100%;
}

.link-hover:hover {
  transform: scale(1.05);
}

/* Social Icons with SVG */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

/* Parallax Effect */
.parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Skeleton Loader */
.skeleton {
  background: linear-gradient(90deg, #1f2937 25%, #374151 50%, #1f2937 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Text Highlights */
.text-highlight {
  font-weight: 700;
  color: #DC2626;
}

.text-highlight-blue {
  font-weight: 700;
  color: #3B82F6;
}

/* Tooltip */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

[data-tooltip]::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(2px);
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

[data-tooltip]:hover::before,
[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
}

[data-tooltip]:hover::before {
  transform: translateX(-50%) translateY(-12px);
}

/* Video Styles */
video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(75, 85, 99, 0.3);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
}

.video-card:hover {
  border-color: rgba(220, 38, 38, 0.5);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.15);
}

.video-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(75, 85, 99, 0.3);
}

.video-container video {
  display: block;
  border-radius: 12px;
}

/* Responsive Video Grid */
@media (max-width: 768px) {
  .video-card {
    padding: 15px;
  }
}
