form {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input, select, textarea, button {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 1rem;
  width: 100%;
  outline: none;
  transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: #ffcc00;
}

button {
  background-color: #ffcc00;
  color: #000;
  font-weight: bold;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #e6b800;
}
/* formulario de la derecha*/
.servicio-formulario {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
}

.servicio-formulario .imagen {
  flex: 1 1 50%;
  text-align: center;
}

.servicio-formulario .imagen img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.servicio-formulario .formulario {
  flex: 1 1 50%;
  background-color: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.formulario label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.formulario input,
.formulario select {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.formulario button {
  background-color: #ffcc00;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.formulario button:hover {
  background-color: #e6b800;
}

@media (max-width: 768px) {
  .servicio-formulario {
    flex-direction: column;
  }
}
.bloque-imagen-titulo {
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
}

.titulo-con-linea {
  margin-bottom: 1rem;
}

.nombre-producto {
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
}

.linea-divisoria {
  width: 100px;
  height: 4px;
  background-color: #ffcc00;
  border-radius: 2px;
  margin: 0.5rem auto 0;
}

.imagen img {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

/* Contenedor general de la sección producto */
.seccion-producto {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem;
}

/* Imagen del producto */
.seccion-producto .imagen img {
  width: 350px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* Formulario */
.seccion-producto form {
  width: 320px;
}

/* Título */
.nombre-producto {
  text-align: center;
  font-size: 2rem;
  margin-top: 1.5rem;
  color: white;
}

/* Línea divisoria */
.linea-divisoria {
  width: 100%;
  max-width: 800px;
  height: 4px;
  background-color: #ffcc00;
  margin: 0 auto 2rem auto;
  border-radius: 2px;
}
.seccion-producto {
  display: flex;
  align-items: flex-start;
  justify-content: center; /* Centramos todo */
  gap: 2rem;
  padding: 2rem;
}

.bloque-superior {
  flex: 1;
  max-width: 500px;
  text-align: center;
}

.formulario-servicio {
  flex: 1;
  max-width: 400px;
  background-color: #111;
  padding: 1rem;
  border: 2px solid #ffcc00;
  border-radius: 10px;
  position: relative;
  top: 0;
}

.nombre-producto {
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
  margin-bottom: 0.5rem;
}

.linea-divisoria {
  width: 100%;
  height: 4px;
  background-color: #ffcc00;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.imagen img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.formulario-servicio {
  width: 320px;
}

@media (max-width: 1024px) {
  .contenedor-producto {
    flex-direction: column;
    align-items: center;
  }
}
.seccion-producto {
  background-color: #000;
  padding: 2rem;
}

.titulo-producto {
  text-align: center;
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  border-bottom: 4px solid red;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}

.contenedor-producto {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  width: 100%;
}
.producto-imagen img {
  max-width: 450px;
  border-radius: 10px;
}

.producto-formulario {
  background-color: #111;
  padding: 1rem;
  border: 2px solid #ffcc00;
  border-radius: 10px;
  width: 100%;
  max-width: 500px; /* Desactiva el límite de ancho */
  flex: 1; /* Permite que ocupe el espacio restante */
}
.producto-formulario label {
  display: block;
  margin-top: 0.5rem; /* Menor margen entre campos */
  font-weight: bold;
  color: #fff;
}

.producto-formulario input,
.producto-formulario select {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.5rem;
  border-radius: 5px;
  border: none;
  outline: none;
}

@media (max-width: 1024px) {
  .contenedor-producto {
    flex-direction: column;
    align-items: center;
  }
}
.producto-imagen {
  position: sticky;
  top: 2rem; /* Distancia desde el tope al hacer scroll */
  align-self: flex-start; /* Para que no se estire en el contenedor flex */
}