/* =======================
   Estilos Globales
======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}

h1, h2, h3 {
  margin-bottom: 15px;
  font-weight: 600;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =======================
   Header
======================= */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10%;
  background: #000;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
  height: 50px;
}

.nav a {
  margin: 0 15px;
  font-weight: 500;
  color: #fff;
  transition: color 0.3s;
}

.nav a:hover {
  color: #f97316;
}

/* =======================
   Hero
======================= */
.hero {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url("img/fondopromo.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

#contador {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn-primary, .btn-secondary {
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: bold;
  transition: transform 0.2s, background 0.3s;
}

.btn-primary {
  background: #f97316;
  color: #fff;
}

.btn-primary:hover {
  background: #ea580c;
  transform: scale(1.05);
}

.btn-secondary {
  background: #fff;
  color: #f97316;
  border: 2px solid #f97316;
}

.btn-secondary:hover {
  background: #f97316;
  color: #fff;
  transform: scale(1.05);
}

/* =======================
   Secciones
======================= */
.section {
  padding: 60px 10%;
  text-align: center;
  background: #fff;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.section-img {
  margin-top: 20px;
  max-width: 50%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* =======================
   Características
======================= */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.feature {
  background: #f97316;
  color: #fff;
  padding: 20px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

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

/* =======================
   Planes y Precios
======================= */
.precios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.plan {
  background: #fff;
  color: #000;
  padding: 25px;
  border-radius: 10px;
  border: 2px solid #f97316;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.plan:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.precio-original {
  text-decoration: line-through;
  color: #999;
}

.precio-oferta {
  color: #f97316;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 10px 0;
}
.precio-oferta::after {
  content: " anual";
  color: black;
  font-size: 1rem;
  font-weight: normal;
}


#contador-precios {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: bold;
}

/* =======================
   Contacto
======================= */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto 20px auto;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
}

.contact-form textarea {
  resize: none;
  height: 120px;
}

.contact-info {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #555;
}

/* =======================
   Footer
======================= */
.footer {
  text-align: center;
  padding: 20px;
  background: #f97316;
  color: #fff;
}

/* =======================
   WhatsApp Float
======================= */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;

  padding: 10px;
}

.whatsapp-float img {
  width: 50px;
  height: 50px;
}

/* =======================
   Responsive
======================= */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }



  .nav {
    margin-top: 10px;
    margin: 0 10px;
  }

  .section {
    padding: 40px 5%;
  }
}

