/* Variables base */
:root {
  --color-primary: #7AC1E1;
  --color-secondary: #C6C5C5;
  --color-accent: #3B89AC;
  --color-dark: #171717;
  --color-highlight: linear-gradient(to right, #3B89AC, #7AC1E1);
  --font-roboto: 'Roboto', sans-serif;
}

/* Sección principal */
.editorial-services {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 20px;
 background: linear-gradient(to bottom,
     /* desvanecido arriba */
    var(--color-dark) 30%,     /* color base al centro */
    var(--color-dark) 70%,
    rgba(37, 37, 37, 0.626) 110% /* desvanecido abajo */
  );
  color: white;
  font-family: var(--font-roboto);
  flex-wrap: wrap;
}

/* Texto a la izquierda */
.editorial-content {
  flex: 1 1 500px;
  max-width: 600px;
  padding: 30px 0;
  padding-left: 7rem;

}

.editorial-content h3 .label {
  font-size: 1rem;
  color: var(--color-primary);
  text-transform: uppercase;
  font-weight: bold;
}

.editorial-content h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin: 15px 0;
}

.editorial-content .highlight {
  background: var(--color-highlight);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

.editorial-content .benefits {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--color-secondary);
}

/* Formulario */
.editorial-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.editorial-form input {
  padding: 12px 15px;
  border: 1px solid var(--color-secondary);
  border-radius: 8px;
  font-size: 1rem;
  background-color: #222;
  color: white;
}

.editorial-form button {
  background: var(--color-highlight);
  border: none;
  padding: 14px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  color: #ffffff;
  transition: 0.3s ease;
}

.editorial-form button:hover {
  opacity: 0.85;
}

/* Nota */
.important {
  font-size: 0.85rem;
  color: var(--color-secondary);
  margin-top: 15px;
}

/* Imagen a la derecha */
.editorial-image {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(80px);
  
}

.editorial-image img {
  max-width: 80%;
  height: 80%;
  
  
}

/* Responsivo */
@media (max-width: 960px) {
  .editorial-services {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }

  .editorial-content {
    padding-left: 0;
    text-align: center;
    padding: 20px 10px;
  }
  .editorial-content h1 {
  font-size: 2rem;
  line-height: 1.3;
  margin: 15px 0;
}

  .editorial-form {
    align-items: center;
  }

  .editorial-form input,
  .editorial-form button {
    width: 100%;
    max-width: 400px;
  }

  .editorial-image {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.editorial-image img {
  max-width: 110%;
  height: auto;
  
  
}
}
