.atl-lf {
  padding: 3rem 1.25rem;
}
@media (min-width: 768px) {
  .atl-lf {
    padding: 4rem 2rem;
  }
}
@media (min-width: 1440px) {
  .atl-lf {
    padding: 5rem 3rem;
  }
}

.atl-lf__card {
  position: relative;
  overflow: hidden;
  max-width: 56rem;
  width: 100%;
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid rgba(53, 52, 82, 0.1);
  background-color: rgba(250, 250, 250, 0.6);
  padding: 2rem;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .atl-lf__card {
    padding: 2.75rem 2.5rem;
  }
}

.atl-lf__title {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: #353452;
  margin: 0 0 0.75rem;
}
@media (min-width: 768px) {
  .atl-lf__title {
    font-size: 1.875rem;
  }
}

.atl-lf__text {
  position: relative;
  z-index: 1;
  color: rgba(53, 52, 82, 0.75);
  font-size: 1rem;
  line-height: 1.625;
  margin-bottom: 1.75rem;
}
.atl-lf__text p {
  margin: 0 0 0.5rem;
}
.atl-lf__text p:last-child {
  margin-bottom: 0;
}

.atl-lf__card .atl-lf-form__row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) {
  .atl-lf__card .atl-lf-form__row {
    grid-template-columns: repeat(2, 1fr);
  }
}
.atl-lf__card .atl-lf-form__field {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.atl-lf__card .atl-lf-form__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(53, 52, 82, 0.8);
}
.atl-lf__card .atl-lf-form__label i {
  margin-right: 0.3rem;
  color: var(--color-testo-attenuato);
}
.atl-lf__card .atl-lf-form__input,
.atl-lf__card .atl-lf-form__select,
.atl-lf__card .atl-lf-form__textarea {
  box-sizing: border-box;
  width: 100%;
  background: #fff;
  border: 1px solid rgba(53, 52, 82, 0.15);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  font-size: 1rem;
  font-weight: 300;
  color: #353452;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.atl-lf__card .atl-lf-form__input:focus,
.atl-lf__card .atl-lf-form__select:focus,
.atl-lf__card .atl-lf-form__textarea:focus {
  outline: none;
  border-color: rgba(19, 119, 119, 0.6);
  box-shadow: 0 0 0 4px rgba(19, 119, 119, 0.08);
}
.atl-lf__card .atl-lf-form__dropzone {
  position: relative;
  overflow: hidden;
  border: 1px dashed rgba(53, 52, 82, 0.25);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.atl-lf__card .atl-lf-form__dropzone:hover, .atl-lf__card .atl-lf-form__dropzone.is-dragover {
  border-color: #137777;
  background: rgba(19, 119, 119, 0.05);
}
.atl-lf__card .atl-lf-form__file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.atl-lf__card .atl-lf-form__dropzone-label {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.429;
  color: #353452;
}
.atl-lf__card .atl-lf-form__dropzone-label i {
  margin-right: 0.35rem;
  color: var(--color-testo-attenuato);
}
.atl-lf__card .atl-lf-form__dropzone-label span {
  color: #137777;
  text-decoration: underline;
}
.atl-lf__card .atl-lf-form__dropzone-hint {
  font-size: 0.6875rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-testo-attenuato);
  margin: 0.35rem 0 0;
}
.atl-lf__card .atl-lf-form__privacy {
  position: relative;
  z-index: 1;
  margin-bottom: 1.75rem;
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.625;
  color: var(--color-testo-attenuato);
}
.atl-lf__card .atl-lf-form__privacy label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
}
.atl-lf__card .atl-lf-form__privacy input[type=checkbox] {
  margin-top: 0.2rem;
  width: 16px;
  height: 16px;
  accent-color: #137777;
  flex-shrink: 0;
  cursor: pointer;
}
.atl-lf__card .atl-lf-form__privacy a {
  color: #137777;
  text-decoration: underline;
}
.atl-lf__card .atl-lf-form__submit {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1.05rem 2.25rem;
  background: #137777;
  border: none;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1.333;
  letter-spacing: normal;
  cursor: pointer;
  transition: background 0.2s ease;
}
.atl-lf__card .atl-lf-form__submit:hover {
  background: #0d6161;
}
@media (min-width: 640px) {
  .atl-lf__card .atl-lf-form__submit {
    width: auto;
  }
}
.atl-lf__card .hf-messages .hf-message {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}
.atl-lf__card .hf-message-success {
  background: rgba(19, 119, 119, 0.1);
  color: #0d6161;
}
.atl-lf__card .hf-message-error {
  background: rgba(204, 66, 54, 0.1);
  color: #cc4236;
}
