body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f9f9f9;
  color: #333;
}
header {
  background: #7b1fa2;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 20px;
  font-weight: bold;
}
nav a {
  margin-left: 15px;
  color: white;
  text-decoration: none;
  font-weight: 500;
}
.hero {
  background: linear-gradient(to right, #7b1fa2, #9c27b0);
  color: white;
  padding: 60px 20px;
  text-align: center;
}
.hero h1 {
  margin: 0;
  font-size: 28px;
}
.hero p {
  font-size: 18px;
  margin-top: 10px;
}
.btn {
  margin-top: 20px;
  display: inline-block;
  background: white;
  color: #7b1fa2;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}
.seccion {
  padding: 40px 20px;
  max-width: 800px;
  margin: auto;
}
.seccion h2 {
  font-size: 24px;
  color: #7b1fa2;
  margin-bottom: 20px;
}
.servicios li {
  margin: 10px 0;
  font-size: 18px;
}
.contacto-links a {
  display: block;
  margin: 8px 0;
  text-decoration: none;
  color: #7b1fa2;
  font-weight: 600;
}
footer {
  background: #eee;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  margin-top: 30px;
}
@media screen and (max-width: 600px) {
  nav {
    display: none;
  }
  .hero h1 {
    font-size: 22px;
  }
}.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.video-box {
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 0 10px #ccc;
  text-align: center;
}
.video-box video {
  width: 100%;
  border-radius: 6px;
}
.video-box p {
  margin-top: 8px;
  font-size: 14px;
  color: #555;
}

.clientes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  align-items: center;
  justify-items: center;
  margin-top: 20px;
}
.clientes-grid img {
  max-width: 100px;
  max-height: 60px;
  filter: grayscale(40%);
  transition: filter 0.3s ease;
}
.clientes-grid img:hover {
  filter: grayscale(0%);
}
.porton-tipos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 15px;
  margin: 15px 0;
}
.porton-tipos label {
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px;
  cursor: pointer;
  transition: 0.2s ease;
}
.porton-tipos img {
  max-width: 60px;
  height: auto;
  display: block;
  margin: auto;
}
.porton-tipos input[type="radio"] {
  margin-bottom: 5px;
}
.porton-tipos label:hover {
  background: #f3f3f3;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
.extras {
  margin: 10px 0;
}
.extras label {
  display: block;
  margin: 5px 0;
}
form input[type="number"],
form select,
form input[type="file"] {
  width: 100%;
  padding: 8px;
  margin: 5px 0 15px 0;
  border-radius: 4px;
  border: 1px solid #ccc;
}
form button {
  padding: 10px 20px;
  background: #7b1fa2;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}
/* ====== Wizard Steps ====== */
.wizard-form fieldset {
  display: none;
  border: none;
  padding: 0;
  margin: 20px 0;
}

.wizard-form fieldset.active {
  display: block;
  animation: fadeIn 0.4s ease-in;
}

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

.wizard-form legend {
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #2e2e2e;
}

/* ====== Inputs y Labels ====== */
.wizard-form label {
  display: block;
  margin-top: 15px;
  font-weight: 500;
  color: #333;
}

.wizard-form input[type="number"],
.wizard-form select,
.wizard-form input[type="file"] {
  width: 100%;
  padding: 8px 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
}

/* ====== Botones ====== */
.wizard-nav,
.wizard-form .next-btn,
.wizard-form .prev-btn {
  margin-top: 20px;
}

.wizard-form .next-btn,
.wizard-form .prev-btn,
#btn-interesa {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.3s ease;
}

.wizard-form .next-btn:hover,
.wizard-form .prev-btn:hover,
#btn-interesa:hover {
  background: #0056b3;
}

.wizard-form .prev-btn {
  background: #6c757d;
}

.wizard-form .prev-btn:hover {
  background: #495057;
}

/* ====== Iconos tipo de portón ====== */
.porton-tipos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.porton-tipos label {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  cursor: pointer;
  background: #fafafa;
  transition: border-color 0.3s, background 0.3s;
}

.porton-tipos label:hover {
  border-color: #007bff;
  background: #f0f8ff;
}

.porton-tipos input[type="radio"] {
  display: none;
}

.porton-tipos input[type="radio"]:checked + img {
  border: 2px solid #007bff;
  border-radius: 6px;
}

.porton-tipos img {
  max-width: 80px;
  max-height: 60px;
  display: block;
  margin: 0 auto 5px;
}

/* ====== Extras (checkbox) ====== */
.extras {
  margin-top: 10px;
}

.extras label {
  display: block;
  margin-bottom: 8px;
  font-weight: 400;
}

/* ====== Cotización Final ====== */
#cotizacion-previa h3 {
  font-size: 1.2em;
  color: #333;
}

#preview-text {
  margin-top: 10px;
  font-size: 1em;
  color: #222;
}

#btn-interesa {
  display: inline-block;
}
.redes-sociales {
  text-align: center;
  padding: 30px 0;
  background-color: #f4f4f4;
  border-top: 1px solid #ddd;
}

.redes-sociales h2 {
  margin-bottom: 15px;
  font-size: 1.4em;
  color: #333;
}

.iconos-redes {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.iconos-redes a img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.iconos-redes a:hover img {
  transform: scale(1.2);
}
.boton-ws {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  padding: 10px 15px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  font-weight: bold;
  font-size: 14px;
  z-index: 9999;
  transition: transform 0.2s ease;
}

.boton-ws img {
  width: 24px;
  height: 24px;
}

.boton-ws:hover {
  transform: scale(1.05);
}
.form-step {
  display: none;
}
.form-step.active {
  display: block;
}
