/* Variables de color */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --text-color: #333;
  --text-light: #7f8c8d;
}

/* Reset básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

/* Layout general */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Hero */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

@media (max-width: 480px) {
  .hero {
    height: 50vh;
  }

  .hero-bg {
    object-fit: cover;
    object-position: center center;
  }
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  width: 90%;
  max-width: 800px;
  padding: 20px;
}

.logo {
  max-width: 450px;
  margin-bottom: 20px;
}

/* Navegación */
.sticky-nav {
  position: sticky;
  top: 0;
  background-color: var(--primary-color);
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sticky-nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 15px 0;
}

.sticky-nav li {
  margin: 0 20px;
  align-items: center;
  justify-content: center;
}

.sticky-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;

}

.sticky-nav a:hover {
  color: var(--secondary-color);
}

/* Secciones */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--primary-color);
}

.divider {
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 15px auto 0;
}

/* Texto destacado */
.highlight-box {
  background-color: var(--light-color);
  border-left: 5px solid var(--secondary-color);
  padding: 20px;
  margin: 30px auto;
  max-width: 600px;
  text-align: center;
  font-style: italic;
}

/* Grid de funcionalidades */
.features-grid {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
}

.feature-card i {
  font-size: 2.2rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.feature-card h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Tecnología */
.tech-section {
  padding: 60px 0;
}

.tech-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.tech-card {
  flex: 1;
  min-width: 250px;
  background: var(--primary-color);
  color: white;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
}

.tech-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

/* Beneficios */
.benefits-section {
  padding: 60px 0;
  background-color: #f5f7fa;
}

.benefits-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.benefit-card {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  position: relative;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--secondary-color);
}

.benefit-icon {
  font-size: 2.2rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.benefit-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.benefit-list {
  list-style: none;
  padding: 0;
}

.benefit-list li {
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
}

.benefit-list i {
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--secondary-color);
}

/* Footer */
footer {
  background-color: #222;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.footer-logo {
  max-width: 120px;
  margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .sticky-nav ul {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
  }

  .logo {
    max-width: 220px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .logo {
    max-width: 200px;
  }

  .feature-card h3,
  .benefit-card h3,
  .tech-card h3 {
    font-size: 1.2rem;
  }

  .feature-card,
  .benefit-card,
  .tech-card {
    padding: 20px;
  }

  .grid-container {
    padding: 0 10px;
  }
}
