:root {
  --primary: #FF6B00;
  --secondary: #005F73;
  --accent: #25D366;
  --light: #F8F9FA;
  --dark: #212529;
  --gray: #6C757D;
}

/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
}

/* Header */
header {
  background-color: white;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.logo {
  height: 150px;
  width: auto;
  margin-bottom: 5px;
}

.slogan {
  color: var(--gray);
  font-size: 1rem;
  font-weight: 500;
}

/* Hero section */
.hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.hero h1 span {
  color: var(--primary);
}

.hero-text {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  background-color: var(--accent);
  color: white;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #128C7E;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-button i {
  margin-right: 10px;
  font-size: 1.2rem;
}

.phone {
  margin-top: 15px;
  font-size: 1.1rem;
}

.phone i {
  margin-right: 8px;
  color: var(--primary);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.feature-card {
  background: white;
  padding: 25px 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.feature-card h3 {
  margin-bottom: 10px;
  color: var(--secondary);
}

/* Products */
.products {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.products h2 {
  text-align: center;
  margin-bottom: 25px;
  color: var(--secondary);
}

.products h2 i {
  margin-right: 10px;
  color: var(--primary);
}

.table-container {
  overflow-x: auto;
  margin-bottom: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
}

th, td {
  padding: 12px 15px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: var(--secondary);
  color: white;
  font-weight: 500;
}

tr:nth-child(even) {
  background-color: #f8f9fa;
}

tr:hover {
  background-color: #f1f1f1;
}

.view-all {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  margin-top: 15px;
}

.view-all i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.view-all:hover i {
  transform: translateX(5px);
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about h2 {
  color: var(--secondary);
  margin-bottom: 20px;
}

.about h2 i {
  margin-right: 10px;
  color: var(--primary);
}

.highlights {
  margin-top: 20px;
}

.highlights p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.highlights i {
  color: var(--primary);
  margin-right: 10px;
}

/* Contact */
.contact {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.contact h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--secondary);
}

.contact h2 i {
  margin-right: 10px;
  color: var(--primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info h3 {
  margin: 20px 0 10px;
  color: var(--secondary);
  display: flex;
  align-items: center;
}

.contact-info h3 i {
  margin-right: 10px;
  color: var(--primary);
}

.contact-info a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.map {
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: none;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.logo-footer {
  height: 100px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-links a {
  color: white;
  text-decoration: none;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer-links a i {
  margin-right: 10px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  color: white;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

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

.copyright {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--accent);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 100;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128C7E;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .about {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .logo {
    height: 60px;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
}

/* Nuevos estilos para el fondo animado */
body {
  position: relative;
  overflow-x: hidden;
  background-color: #f8f9fa;
}

.background-animation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
  z-index: -2;
}

.color-wave {
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(90deg, 
    var(--primary) 0%, 
    var(--secondary) 50%, 
    var(--accent) 100%);
  z-index: 1;
  clip-path: ellipse(75% 100% at 50% 100%);
}

/* Logo más grande */
.logo {
  height: 120px;
  width: auto;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

/* Mejoras en feature cards */
.feature-card {
  background: white;
  padding: 30px 25px;
  border-radius: 12px;
  border-top: 4px solid var(--primary);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--primary), 
    var(--secondary), 
    var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* Hero section mejorada */
.hero {
  position: relative;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(90deg, 
    var(--primary) 0%, 
    var(--secondary) 50%, 
    var(--accent) 100%);
  transform: scaleX(0);
  animation: waveExpand 1.5s ease-out forwards;
}

@keyframes waveExpand {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Degradado animado para el fondo */
@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.background-animation::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg, 
    rgba(255,107,0,0.03) 0%, 
    rgba(0,95,115,0.03) 50%, 
    rgba(37,211,102,0.03) 100%);
  animation: gradientBG 15s ease infinite;
  background-size: 200% 200%;
  z-index: -1;
}