/* ================== VARIABLES ================== */
:root {
  --rosa: #ff6ec7;
  --amarillo: #facc15;
  --turquesa: #8b5cf6;
  --verde: #7dde92;
  --gris: #f2f2f2;
  --texto: #333;
  --blanco: #fff;
  --morado: #8b5cf6;
}

/* ================== RESET ================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nunito", sans-serif;
}

body {
  background: var(--blanco);
  color: var(--texto);
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* ================== HEADER ================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background: var(--blanco);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header nav a {
  margin-left: 25px;
  text-decoration: none;
  font-weight: 500;
  color: var(--texto);
  transition: color 0.3s;
}

header nav a:hover {
  color: var(--turquesa);
}

.logo {
  font-size: 3rem;
  font-weight: bold;
  background: linear-gradient(
    90deg,
    var(--rosa),
    var(--amarillo),
    var(--turquesa)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
}

/* Estilo del botón hamburguesa */
.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #333;
}

/* Menú en desktop */
nav {
  display: flex;
  gap: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav {
    position: absolute;
    top: 60px;
    right: 20px;
    background: white;
    flex-direction: column;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: none;
  }

  nav.active {
    display: flex;
  }
}

/* ================== HERO ================== */
.hero {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(135deg, var(--rosa), var(--turquesa));
  color: var(--blanco);
  animation: fadeIn 1.2s ease-in-out;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-family: "Poppins", sans-serif;
}

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

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(90deg, var(--amarillo), var(--rosa));
  color: var(--gris);
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ================== SECCIONES ================== */
.section {
  background: var(--blanco);
  margin: 3rem auto;
  padding: 3rem 2rem;
  border-radius: 20px;
  width: 90%;
  max-width: 1100px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  animation: slideUp 1.2s ease-in-out;
}

.section h2 {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  background: linear-gradient(90deg, var(--turquesa), var(--rosa));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ================== CARDS ================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--blanco);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  opacity: 0;
  transform: translateY(50px);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card.show {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

/* ================== CÓMO FUNCIONA ================== */
.como-funciona .paso {
  width: 250px;
  background: var(--blanco);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.como-funciona .paso i {
  font-size: 2rem;
  color: var(--turquesa);
  margin-bottom: 15px;
}

.como-funciona .paso:hover {
  transform: translateY(-10px);
}

/* ================== TESTIMONIOS ================== */
.testimonios .card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.testimonios .card h3 {
  margin-bottom: 0.5rem;
  color: var(--rosa);
}

.testimonios .stars {
  color: #ffd700;
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

/* ================== CONTACTO ================== */
.contacto form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: auto;
}

.contacto input,
.contacto textarea {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  resize: none;
}

.contacto button {
  align-self: center;
  width: 50%;
  padding: 12px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(90deg, var(--rosa), var(--turquesa));
  color: var(--blanco);
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s;
}

.contacto button:hover {
  transform: translateY(-3px);
}

/* ================== WHATSAPP FLOTANTE ================== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: var(--blanco);
  border-radius: 50%;
  text-align: center;
  font-size: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ================== CTA Final ================== */
.cta {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(
    135deg,
    var(--rosa),
    var(--amarillo),
    var(--turquesa)
  );
  color: var(--blanco);
  border-radius: 20px;
  width: 90%;
  max-width: 1100px;
  margin: 4rem auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn-cta {
  display: inline-block;
  padding: 14px 32px;
  background: var(--blanco);
  color: var(--morado);
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* ================== MODAL ================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-content {
  background: var(--blanco);
  padding: 30px;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
}

.modal-content h3 {
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--rosa), var(--turquesa));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal-content input,
.modal-content textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
}

.modal-content button {
  padding: 12px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(90deg, var(--rosa), var(--turquesa));
  color: var(--blanco);
  font-weight: bold;
  cursor: pointer;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ================== ANIMACIONES ================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================== MEDIA QUERIES ================== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .cards {
    grid-template-columns: 1fr;
  }
}

/* ================== FOOTER ================== */
footer {
  background: var(--gris);
  padding: 30px 20px;
  text-align: center;
  margin-top: 50px;
  border-top: 2px solid rgba(0, 0, 0, 0.05);
  color: var(--texto);
}

footer nav a {
  margin: 0 10px;
  text-decoration: none;
  color: var(--texto);
  font-weight: 500;
  transition: color 0.3s;
}

footer nav a:hover {
  color: var(--morado);
}

.socials a {
  margin: 0 8px;
  font-size: 1.3rem;
  color: var(--texto);
  transition: color 0.3s;
}

.socials a:hover {
  color: var(--rosa);
}

/* ================== REVEAL ================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* ====== SERVICIOS CON PRECIOS ====== */
#servicios-precios .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

#servicios-precios .card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#servicios-precios .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

#servicios-precios h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #333;
}

#servicios-precios p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.75rem;
}

#servicios-precios .price {
  font-size: 1.3rem;
  font-weight: bold;
  color: #6a11cb; /* mismo degradado que tu logo */
  margin: 1rem 0;
}

#servicios-precios .btn {
  display: inline-block;
  background: linear-gradient(45deg, #6a11cb, #2575fc);
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

#servicios-precios .btn:hover {
  background: linear-gradient(45deg, #2575fc, #6a11cb);
}

/* Wizard modal (minimal) */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}
.modal-panel {
  background: #fff;
  border-radius: 12px;
  width: 95%;
  max-width: 900px;
  padding: 20px;
  position: relative;
  max-height: 90vh;
  overflow: auto;
}
.close {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 22px;
  border: none;
  background: none;
  cursor: pointer;
}
.progress {
  height: 8px;
  background: #eee;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 8px;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff6ec7, #8b5cf6);
}
.wizard-content .step {
  margin-top: 18px;
}
.wizard-footer {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 18px;
}
#blocksList .block {
  padding: 10px;
  border: 1px solid #eee;
  margin-bottom: 10px;
  border-radius: 8px;
}
.input,
textarea,
select {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 8px;
  border: 1px solid #ddd;
}
.btn {
  background: linear-gradient(90deg, #ffd93d, #ff6ec7);
  border: none;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 100, 0.7);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 25px 12px rgba(255, 0, 100, 0);
  }
}
.btn-pulse {
  background: linear-gradient(90deg, #ff0080, #ff8c00);
  color: #fff;
  font-weight: bold;
  padding: 14px 32px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  animation: pulse 2s infinite;
  transition: transform 0.2s ease-in-out;
}
.btn-pulse:hover {
  transform: scale(1.12);
}

.wizard-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.wizard-form {
  padding: 20px;
  border-right: 1px solid #eee;
}

.wizard-preview {
  padding: 20px;
  background: linear-gradient(135deg, #ff9dce, #ffa8a8);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.preview-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 20px;
  color: #333;
  text-align: center;
}
.preview-card img {
  max-width: 100%;
  border-radius: 12px;
  margin: 10px 0;
}

/* Botones */
.btn-primary,
.btn-secondary,
.btn-success {
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin: 5px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #ff6ec7;
  color: #fff;
}
.btn-primary:hover {
  background: #ff3fb3;
}
.btn-secondary {
  background: #f0f0f0;
}
.btn-secondary:hover {
  background: #ddd;
}
.btn-success {
  background: #28a745;
  color: #fff;
}
.btn-success:hover {
  background: #218838;
}

/* Efectos */
.glow {
  box-shadow: 0 0 8px #ff6ec7;
}
.pulse {
  animation: pulseAnim 1.5s infinite;
}
@keyframes pulseAnim {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
