/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #e67e22;
  --secondary: #7777dd;
  --light: #fefefe;
  --dark: #333;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

/* Encabezado */
header {
  background: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.logo img {
  max-height: 50px;
  height: auto;
  width: auto;
}

nav.nav-links {
  display: flex;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
  color: var(--primary);
  transform: scale(1.05);
}

/* Menú hamburguesa */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(to right, var(--secondary), var(--primary));
  color: white;
  text-align: center;
  padding: 3rem 1.5rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.highlight {
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  padding: 0 0.5rem;
  border-radius: 5px;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: white;
  color: var(--primary);
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.btn:hover {
  transform: scale(1.05);
}

.btn.pulse {
  animation: pulse 1.5s infinite;
}

/* Secciones */
section {
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: auto;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.benefits ul {
  list-style: none;
  padding-left: 1rem;
}

.benefits li {
  margin: 0.75rem 0;
  font-size: 1.1rem;
}

.steps {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.steps div {
  flex: 1;
  min-width: 250px;
  background: #fdfdfd;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Contacto */
.contact a {
  color: var(--primary);
  font-weight: bold;
  text-decoration: none;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: #eee;
  font-size: 0.9rem;
}

/* WhatsApp */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  font-size: 2rem;
  padding: 0.5rem 0.7rem;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.whatsapp:hover {
  transform: scale(1.1);
}

/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.animated.fade-in {
  animation: fadeIn 1s ease-out;
}

.animated.slide-up {
  animation: slideUp 1s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav.nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    position: absolute;
    top: 70px;
    left: 0;
    padding: 1rem 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  nav.nav-links.active {
    display: flex;
    max-height: 300px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .steps {
    flex-direction: column;
  }

  .btn {
    padding: 0.6rem 1.2rem;
  }
}

@media (max-width: 480px) {
  .logo img {
    max-height: 40px;
  }

  .hero {
    padding: 2rem 1rem;
  }

  section {
    padding: 2rem 1rem;
  }

  .whatsapp {
    font-size: 1.5rem;
    padding: 0.4rem 0.6rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .btn {
    margin-top: 0.8rem;
  }

  .card {
    margin-bottom: 3rem;
  }
}

.benefits-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.benefits-grid ul {
  flex: 1;
  min-width: 250px;
}

.benefits-animation {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 250px;
}

.testimonial-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.testimonial-grid blockquote {
  flex: 1;
  min-width: 250px;
  background: #f9f9f9;
  padding: 1rem;
  border-left: 4px solid var(--primary);
  font-style: italic;
}

html {
  scroll-behavior: smooth;
}
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
input,
textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  text-align: center;
  font-size: 1.2rem;
}
.stats-grid strong {
  font-size: 2rem;
  color: var(--primary);
}

body.dark-mode {
  background: #121212;
  color: #f0f0f0;
}

body.dark-mode header {
  background: #1e1e1e;
}

body.dark-mode .card {
  background: #1e1e1e;
  color: #f0f0f0;
}

body.dark-mode a {
  color: #ffa726;
}

body.dark-mode .btn {
  background: #333;
  color: #ffa726;
}

body.dark-mode .highlight {
  background: rgba(255, 255, 255, 0.1);
}